package com.woniuxy.service.impl;

import com.woniuxy.dao.UserDao;
import com.woniuxy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService{
    @Autowired
    @Qualifier("userDaoProxyImpl")
    //@Resource
    private UserDao userDao;
    @Override
    public void addUser() {
        userDao.add();
    }
}
